package com.wen.service;

import java.io.Serializable;

/**
 * Created by teddy on 2017/3/30.
 */
public interface ICacheBaseService<T>{
    T get(Serializable id);

    void save(T[] entity) ;

    void save(T entity) ;

    Serializable saveObj(T entity);

    void update(T entity) ;

    void delete(T entity) ;

    public int delete(Serializable id) ;

    public void delete(Serializable... id) ;

}